package com.yssoft.mapper.special;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.yssoft.entity.special.TSFoodSafetyDisposalEntity;
import com.yssoft.entity.special.TsPersonnelEntity;
import com.yssoft.entity.special.TsQualificationProofEntity;
import com.yssoft.entity.special.TsSuspensionResumptionEntity;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

public interface TSFoodSafetyDisposalMapper extends BaseMapper<TSFoodSafetyDisposalEntity> {

    /**
     * 查询
     */
    List<TSFoodSafetyDisposalEntity> getAll(@Param("companyId") Long companyId);

    /**
     * 条件查询
     */
    TSFoodSafetyDisposalEntity selectById(@Param("id") String id);

    /**
     * 修改
     */
    int updateById(TSFoodSafetyDisposalEntity entity);

    int insert(TSFoodSafetyDisposalEntity entity);

}
